package com.mes.cloud.api.dto.response.product;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.persistence.*;

/**
 * 产品
 * 
 * @author xy
 * @version 2019-08-20 14:30:12
 * @email yuan.xue3@pactera.com
 */
@Data
@ApiModel("产品dto")
public class ProductDto implements Serializable{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键", required = false)
    private String id;

    @ApiModelProperty(value = "编码", required = false)
    private String code;

    @ApiModelProperty(value = "名称", required = false)
    private String name;

    @ApiModelProperty(value = "产品类型(字典值:1.竞品 2.成品 3.流通商品 4.低值易耗品 5.半成品 6.辅助材料)", required = false)
    private String type;

    @ApiModelProperty(value = "目录id", required = false)
    private String productDirectoryId;

    @ApiModelProperty(value = "外部编码", required = false)
    private String outsideCode;

    @ApiModelProperty(value = "条形码", required = false)
    private String barCode;

    @ApiModelProperty(value = "产品规格，最小单位的规格", required = false)
    private String specifications;

    @ApiModelProperty(value = "货箱包装", required = false)
    private String containerPacking;

    @ApiModelProperty(value = "数据来源(1.SAP 2.FSFA 3.CRM)", required = false)
    private String source;

    @ApiModelProperty(value = "是否促销(Y/N)", required = false)
    private String promotionFlag;

    @ApiModelProperty(value = "保质期", required = false)
    private String qualityGuaranteePeriod;

    @ApiModelProperty(value = "备注", required = false)
    private String remark;

    @ApiModelProperty(value = "状态(0：禁用，1：启用)", required = false)
    private String enableFlag;

    @ApiModelProperty(value = "创建人", required = false)
    private String createBy;

    @ApiModelProperty(value = "创建时间", required = false)
    private Date createTime;

    @ApiModelProperty(value = "修改人", required = false)
    private String updateBy;

    @ApiModelProperty(value = "修改时间", required = false)
    private Date updateTime;

    @ApiModelProperty(value = "删除标记，1：删除，0：未删除", required = false)
    private String delFlag;

    @ApiModelProperty(value = "更新日期", required = false)
    private String updateDateStr;

    @ApiModelProperty(value = "版本", required = false)
    private Integer version;

    @ApiModelProperty(value = "品牌名称", required = false)
    private String brandName;

    @ApiModelProperty(value = "品类名称", required = false)
    private String categoryName;

    @ApiModelProperty(value = "创建人工号", required = false)
    private String createByNo;

    @ApiModelProperty(value = "修改人工号", required = false)
    private String updateByNo;
}
